package com.atguigu.orderservice.client;

import com.atguigu.queryVo.UcenterMemberOrderVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.Mapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@Component
@FeignClient("service-ucenter")
public interface UcenterClient {


    @PostMapping("/educenter/member/getUserInfoOrder/{id}")
    public UcenterMemberOrderVo getUserInfoOrder(@PathVariable("id") String id );
}
